package com.foreknow.dao;


import com.foreknow.db.JdbcTemplate;
import com.foreknow.mapping.MappingFactory;

import java.sql.Connection;

public class BaseDao {
    public JdbcTemplate jdbcTemplate = JdbcTemplate.getInstance();
    public MappingFactory mappingFactory = MappingFactory.getmf();

    public void setConnection(Connection connection){
        jdbcTemplate.setConnection(connection);
    }
}
